* {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

body {
    background-color: #424242;
}

.container {
    width: 750px;
    height: 430px;
    background-color: #222831;
    border-radius: 25px;
    box-shadow: 0 0 70px -10px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    /* 强制居中 */
    position:fixed; 
    top: 0; 
    right: 0;  
    bottom: 0;  
    left: 0;  
    margin: auto;
}

.weather-side {
    position: relative;
    width: 300px;
    height: 100%;
    border-radius: 25px 0 0 25px;
    float: left;
}

.gradient {
    width: 100%;
    height: 100%;
    position: absolute;
    background-image: linear-gradient(135deg, #72EDF1, #5151E6);
    border-radius: 25px 0 0 25px;
    opacity: 0.8;
}

.date-container {
    position: absolute;
    top: 30px;
    left: 25px;
}

.date-container .date-day {
    display: block;
    margin: 8px 0;
}

.weather-conteiner {
    position: absolute;
    bottom: 30px;
    left: 25px;
}
#weather-l{
    font-size: 80px;
}
.weather-temp {
    font-size: 2em;
    font-weight: bold;
    margin: 10px 0;
}

.waeather-desc {
    font-size: 20px;
}

/* 右边部分 */
.info-side {
    width: 450px;
    height: 100%;
    float: right;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.today-info {
    width: 400px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 0 50px -5px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}
.today-info>div{
    width: 350px;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#pm{
    padding: 3px;
    border-radius: 13px;
    text-align: center;
    line-height: 22px;
    /* font-size: 13px; */
}
.week-list {
    width: 400px;
    height: 120px;
    display: flex;
    justify-content: space-around;
    border-radius: 10px;
    box-shadow: 0 0 50px -5px rgba(0, 0, 0, 0.4);
}

.week-list>li {
    width: 25%;
    height: 100%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    border-radius: 10px;
    transition: 200ms;
}

.week-list .iconfont{
    font-size: 36px !important;
}

.active {
    transform: scale(1.1);
    background-color: #ffffff;
    color: #222831;
}

.location-container {
    width: 400px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.location-container input {
    outline: none;
    width: 350px;
    height: 35px;
    border: none;
    color: #222831;
    border-radius: 5px;
    text-align: center;
}

.location-container button {
    border: none;
    width: 350px;
    height: 35px;
    color: #ffffff;
    background-image: linear-gradient(135deg, #72EDF1, #5151E6);
    border-radius: 25px;
    font-weight: bold;
    box-shadow: 0 0 40px -5px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: 200ms;
}

.location-container button:hover {
    transform: scale(1.05);
}